﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using OnlineSoccerManager.Helper;

namespace OnlineSoccerManager.Classes
{
    public class Player
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Position { get; set; }
        public int Age { get; set; }
        public int Strength { get; set; }
        public int SingleStrength { get; set; }
        public int Country { get; set; }
        public int EWSID { get; set; }
        public string EWS { get; set; }
        public long Value { get; set; }
        public int Treaty { get; set; }
        public Skills Skill { get; set; }

        public ImageSource FlagSource { get { return this.FlagImage.GetImageSource();  } }
        public Bitmap FlagImage { get; set; }
        public ImageSource EWSSource { get { return this.EWSImage.GetImageSource(); } }
        public Bitmap EWSImage { get; set; }
    }
}
